package com.retail.xiaocui.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.retail.common.core.annotation.Excel;
import com.retail.common.core.web.domain.BaseEntity;

/**
 * 仓库对象 t_warehouse
 *
 * @author retail
 * @date 2024-03-07
 */
public class Warehouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库id */
    private Integer warehouseId;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 仓库所在地 */
    @Excel(name = "仓库所在地")
    private String warehouseAddress;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String warehouseRemark;

    /** 仓库容量 */
    @Excel(name = "仓库容量")
    private Integer warehouseCapacity;

    public void setWarehouseId(Integer warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public Integer getWarehouseId()
    {
        return warehouseId;
    }
    public void setWarehouseName(String warehouseName)
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName()
    {
        return warehouseName;
    }
    public void setWarehouseAddress(String warehouseAddress)
    {
        this.warehouseAddress = warehouseAddress;
    }

    public String getWarehouseAddress()
    {
        return warehouseAddress;
    }
    public void setWarehouseRemark(String warehouseRemark)
    {
        this.warehouseRemark = warehouseRemark;
    }

    public String getWarehouseRemark()
    {
        return warehouseRemark;
    }
    public void setWarehouseCapacity(Integer warehouseCapacity)
    {
        this.warehouseCapacity = warehouseCapacity;
    }

    public Integer getWarehouseCapacity()
    {
        return warehouseCapacity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("warehouseId", getWarehouseId())
            .append("warehouseName", getWarehouseName())
            .append("warehouseAddress", getWarehouseAddress())
            .append("warehouseRemark", getWarehouseRemark())
            .append("warehouseCapacity", getWarehouseCapacity())
            .toString();
    }
}
